// 测试界面样式
* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background: #fff;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0px;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        text-decoration: none;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// Tab选择栏
.demo {
    position: fixed;
    top: 12vw;
    left: 0vw;
    display: flex;
    justify-content: space-around;
    width: 100vw;
    height: 12vw;
    background-color: #efefef;
    z-index: 999;

    .total {
        width: 49.8vw;
        height: 12vw;
        border-right: 0.2vw solid #f6f7f8;
        background-color: #a3c3d1;
        font: normal normal 5vw/12vw "Microsoft YaHei";
        text-align: center;
        color: #019fe6;
    }

    .rank {
        width: 49.8vw;
        height: 12vw;
        border-left: 0.2vw solid #f6f7f8;
        font: normal normal 5vw/12vw "Microsoft YaHei";
        text-align: center;
        color: #333;
    }

}

// 主内容
.main {

    // 数据总览
    #content_1 {

        // 销售额
        .demo1 {
            width: 100vw;
            margin: 26vw auto 0vw;
            overflow: hidden;
            background-color: #fff;

            .icon {
                position: relative;
                width: 18vw;
                height: 18vw;
                border-radius: 12vw;
                background-color: #019fe6;
                box-shadow: 0vw 0vw 2vw 2vw #019fe6;
                margin: 5vw auto;

                &::before {
                    content: "";
                    position: absolute;
                    top: 3vw;
                    left: 3vw;
                    width: 12vw;
                    height: 12vw;
                    background: url(../images/扫一扫.png)no-repeat center;
                    background-size: contain;
                }
            }

            .title {
                width: 100vw;
                height: 10vw;
                font: normal normal 5vw/10vw "Microsoft YaHei";
                text-align: center;
                color: #000;
            }
        }

        // 收益额 
        .demo2 {
            width: 100vw;
            margin: 12vw auto 0vw;
            overflow: hidden;
            background-color: #fff;

            .icon {
                position: relative;
                width: 18vw;
                height: 18vw;
                border-radius: 12vw;
                background-color: #019fe6;
                box-shadow: 0vw 0vw 2vw 2vw #019fe6;
                margin: 5vw auto;

                &::before {
                    content: "";
                    position: absolute;
                    top: 3vw;
                    left: 3vw;
                    width: 12vw;
                    height: 12vw;
                    background: url(../images/选择分拨.png)no-repeat center;
                    background-size: contain;
                }
            }

            .title {
                width: 100vw;
                height: 10vw;
                font: normal normal 5vw/10vw "Microsoft YaHei";
                text-align: center;
                color: #000;
            }
        }

        // 订单量 
        .demo3 {
            width: 100vw;
            margin: 12vw auto 0vw;
            overflow: hidden;
            background-color: #fff;

            .icon {
                position: relative;
                width: 18vw;
                height: 18vw;
                border-radius: 12vw;
                background-color: #019fe6;
                box-shadow: 0vw 0vw 2vw 2vw #019fe6;
                margin: 5vw auto;

                &::before {
                    content: "";
                    position: absolute;
                    top: 3vw;
                    left: 3vw;
                    width: 12vw;
                    height: 12vw;
                    background: url(../images/批量分拨.png)no-repeat center;
                    background-size: contain;
                }
            }

            .title {
                width: 100vw;
                height: 10vw;
                font: normal normal 5vw/10vw "Microsoft YaHei";
                text-align: center;
                color: #000;
            }
        }
    }

    // 商家统计
    #content_2 {

        .easy {
            width: 100vw;
            margin: 12vw auto;

            .img {
                width: 100vw;
                height: 135vw;
                background: url(../images/一键铺货.png) no-repeat center;
                background-size: contain;
            }

            .btn {
                width: 96vw;
                height: 12vw;
                margin: 10vw auto;
                border-radius: 2vw;
                background-color: #019fe6;
                font: normal normal 5vw/12vw "Microsoft YaHei";
                text-align: center;
                color: #fff;
            }
        }

    }
}